package com.itnan.user.dao;

import com.itnan.user.domain.Customer;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by tangjian on 27/4/14.
 */
public interface CustomerDao extends JpaRepository<Customer, Long> {
    List<Customer> findByUserId(long userId);
}
